/*
 * stack_item.h
 *
 *  Created on: 29.9.2011
 *      Author: duke
 */

#ifndef STACK_ITEM_H_
#define STACK_ITEM_H_

#include <iostream>
#include <vector>
#include "edge.h"

using namespace std;

class stackitem {
public:
	stackitem(int, vector<edge> );
	stackitem(int *, int);
	int getIndex();
	int getSize();
	void setIndex(int);
	vector<edge> getEdges(int, int);
	vector<edge> getAllEdges();
	void setEdgeColor(int, int);
	int getEdgeColor(int);
	void print();
	int * getArray();
	void printArray();
	void printArray(int *);

private:
	int index;
	vector<edge> edges;
	int *edge_array;
};

#endif /* STACK_ITEM_H_ */
